#include <iostream>
using namespace std;
class Fish{
    public:
        Fish(){
            cout<<"Constructed Fish"<<endl;
        }
        virtual ~Fish(){
            cout<<"Destroyed Fish"<<endl;
        }
};

class Tuna:public Fish{
    public:
        Tuna(){
            cout<<"Construct Tuna"<<endl;
        }
        ~Tuna(){
            cout<<"Destroyed Tuna"<<endl;
        } 
};   

void DeleteFishMemory(Fish *fish){
    cout<<"Deleting "<<" Memory"<<endl;
    delete fish;
};

int main(){
    Tuna *tuna=new Tuna;
    DeleteFishMemory(tuna);
    return 0;
}
